package com.kgcx.common.client.organization.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.sql.Timestamp;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "开通城市")
public class City {
    /**
     * 城市id，行政区域编码
     */
    @ApiModelProperty(value = "城市id，行政区域编码", required = true, example = "4301")
    private Long cityId;
    /**
     * 名称
     */
    @ApiModelProperty(value = "名称", required = true, example = "长沙")
    private String name;

    /**
     * 城市管理人
     */
    @ApiModelProperty(value = "城市管理人", required = true, example = "林俊杰")
    private String manager;

    /**
     * 管理人电话
     */
    @ApiModelProperty(value = "管理人电话", required = true, example = "13778777677")
    private String managerPhone;

    @ApiModelProperty(value = "主键，新增不填", example = "1", readOnly = true)
    private Long kid;
    /**
     * 逻辑状态：101=启用，102=禁用，103=删除
     */
    @ApiModelProperty(value = "逻辑状态：101=启用，102=禁用，103=删除", required = true, example = "101", readOnly = true)
    private Integer status;
    /**
     * 记录创建人id
     */
    @ApiModelProperty(value = "记录创建人id", example = "1", readOnly = true)
    private Integer createId;
    /**
     * 记录创建时间
     */
    @ApiModelProperty(value = "记录创建时间", example = "1511248354000", readOnly = true)
    private Timestamp createTime;
    /**
     * 记录修改人id
     */
    @ApiModelProperty(value = "记录修改人id", example = "1", readOnly = true)
    private Integer updateId;
    /**
     * 记录修改时间
     */
    @ApiModelProperty(value = "记录修改时间", example = "1511248354000", readOnly = true)
    private Timestamp updateTime;
}